Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

Cache Sizes

The cacheSize parameter to the QTVRGetBackBufferSettings and QTVRSetBackBufferPrefs functions specifies the size of the panorama back buffer. You can use these constants to specify a cache size:

enum {
    kQTVRMinimumCache                               = -1,
    kQTVRSuggestedCache                             = 0,
    kQTVRFullCache                                  = 1
};

Constant descriptions

kQTVRMinimumCache
The minimum cache size required to display the specified movie.
kQTVRSuggestedCache
The suggested cache size.
kQTVRFullCache
The full cache size (that is, a cache that is large enough to fit the entire panorama in memory). This is the default cache size.

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |